package com.knowif.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class StanderSorceExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public StanderSorceExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * 
     * 
     * @author wcyong
     * 
     * @date 2020-06-15
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBkSchoolTypeIsNull() {
            addCriterion("bk_school_type is null");
            return (Criteria) this;
        }

        public Criteria andBkSchoolTypeIsNotNull() {
            addCriterion("bk_school_type is not null");
            return (Criteria) this;
        }

        public Criteria andBkSchoolTypeEqualTo(String value) {
            addCriterion("bk_school_type =", value, "bkSchoolType");
            return (Criteria) this;
        }

        public Criteria andBkSchoolTypeNotEqualTo(String value) {
            addCriterion("bk_school_type <>", value, "bkSchoolType");
            return (Criteria) this;
        }

        public Criteria andBkSchoolTypeGreaterThan(String value) {
            addCriterion("bk_school_type >", value, "bkSchoolType");
            return (Criteria) this;
        }

        public Criteria andBkSchoolTypeGreaterThanOrEqualTo(String value) {
            addCriterion("bk_school_type >=", value, "bkSchoolType");
            return (Criteria) this;
        }

        public Criteria andBkSchoolTypeLessThan(String value) {
            addCriterion("bk_school_type <", value, "bkSchoolType");
            return (Criteria) this;
        }

        public Criteria andBkSchoolTypeLessThanOrEqualTo(String value) {
            addCriterion("bk_school_type <=", value, "bkSchoolType");
            return (Criteria) this;
        }

        public Criteria andBkSchoolTypeLike(String value) {
            addCriterion("bk_school_type like", value, "bkSchoolType");
            return (Criteria) this;
        }

        public Criteria andBkSchoolTypeNotLike(String value) {
            addCriterion("bk_school_type not like", value, "bkSchoolType");
            return (Criteria) this;
        }

        public Criteria andBkSchoolTypeIn(List<String> values) {
            addCriterion("bk_school_type in", values, "bkSchoolType");
            return (Criteria) this;
        }

        public Criteria andBkSchoolTypeNotIn(List<String> values) {
            addCriterion("bk_school_type not in", values, "bkSchoolType");
            return (Criteria) this;
        }

        public Criteria andBkSchoolTypeBetween(String value1, String value2) {
            addCriterion("bk_school_type between", value1, value2, "bkSchoolType");
            return (Criteria) this;
        }

        public Criteria andBkSchoolTypeNotBetween(String value1, String value2) {
            addCriterion("bk_school_type not between", value1, value2, "bkSchoolType");
            return (Criteria) this;
        }

        public Criteria andBkEducationYearIsNull() {
            addCriterion("bk_education_year is null");
            return (Criteria) this;
        }

        public Criteria andBkEducationYearIsNotNull() {
            addCriterion("bk_education_year is not null");
            return (Criteria) this;
        }

        public Criteria andBkEducationYearEqualTo(String value) {
            addCriterion("bk_education_year =", value, "bkEducationYear");
            return (Criteria) this;
        }

        public Criteria andBkEducationYearNotEqualTo(String value) {
            addCriterion("bk_education_year <>", value, "bkEducationYear");
            return (Criteria) this;
        }

        public Criteria andBkEducationYearGreaterThan(String value) {
            addCriterion("bk_education_year >", value, "bkEducationYear");
            return (Criteria) this;
        }

        public Criteria andBkEducationYearGreaterThanOrEqualTo(String value) {
            addCriterion("bk_education_year >=", value, "bkEducationYear");
            return (Criteria) this;
        }

        public Criteria andBkEducationYearLessThan(String value) {
            addCriterion("bk_education_year <", value, "bkEducationYear");
            return (Criteria) this;
        }

        public Criteria andBkEducationYearLessThanOrEqualTo(String value) {
            addCriterion("bk_education_year <=", value, "bkEducationYear");
            return (Criteria) this;
        }

        public Criteria andBkEducationYearLike(String value) {
            addCriterion("bk_education_year like", value, "bkEducationYear");
            return (Criteria) this;
        }

        public Criteria andBkEducationYearNotLike(String value) {
            addCriterion("bk_education_year not like", value, "bkEducationYear");
            return (Criteria) this;
        }

        public Criteria andBkEducationYearIn(List<String> values) {
            addCriterion("bk_education_year in", values, "bkEducationYear");
            return (Criteria) this;
        }

        public Criteria andBkEducationYearNotIn(List<String> values) {
            addCriterion("bk_education_year not in", values, "bkEducationYear");
            return (Criteria) this;
        }

        public Criteria andBkEducationYearBetween(String value1, String value2) {
            addCriterion("bk_education_year between", value1, value2, "bkEducationYear");
            return (Criteria) this;
        }

        public Criteria andBkEducationYearNotBetween(String value1, String value2) {
            addCriterion("bk_education_year not between", value1, value2, "bkEducationYear");
            return (Criteria) this;
        }

        public Criteria andBkSpecialIsNull() {
            addCriterion("bk_special is null");
            return (Criteria) this;
        }

        public Criteria andBkSpecialIsNotNull() {
            addCriterion("bk_special is not null");
            return (Criteria) this;
        }

        public Criteria andBkSpecialEqualTo(String value) {
            addCriterion("bk_special =", value, "bkSpecial");
            return (Criteria) this;
        }

        public Criteria andBkSpecialNotEqualTo(String value) {
            addCriterion("bk_special <>", value, "bkSpecial");
            return (Criteria) this;
        }

        public Criteria andBkSpecialGreaterThan(String value) {
            addCriterion("bk_special >", value, "bkSpecial");
            return (Criteria) this;
        }

        public Criteria andBkSpecialGreaterThanOrEqualTo(String value) {
            addCriterion("bk_special >=", value, "bkSpecial");
            return (Criteria) this;
        }

        public Criteria andBkSpecialLessThan(String value) {
            addCriterion("bk_special <", value, "bkSpecial");
            return (Criteria) this;
        }

        public Criteria andBkSpecialLessThanOrEqualTo(String value) {
            addCriterion("bk_special <=", value, "bkSpecial");
            return (Criteria) this;
        }

        public Criteria andBkSpecialLike(String value) {
            addCriterion("bk_special like", value, "bkSpecial");
            return (Criteria) this;
        }

        public Criteria andBkSpecialNotLike(String value) {
            addCriterion("bk_special not like", value, "bkSpecial");
            return (Criteria) this;
        }

        public Criteria andBkSpecialIn(List<String> values) {
            addCriterion("bk_special in", values, "bkSpecial");
            return (Criteria) this;
        }

        public Criteria andBkSpecialNotIn(List<String> values) {
            addCriterion("bk_special not in", values, "bkSpecial");
            return (Criteria) this;
        }

        public Criteria andBkSpecialBetween(String value1, String value2) {
            addCriterion("bk_special between", value1, value2, "bkSpecial");
            return (Criteria) this;
        }

        public Criteria andBkSpecialNotBetween(String value1, String value2) {
            addCriterion("bk_special not between", value1, value2, "bkSpecial");
            return (Criteria) this;
        }

        public Criteria andBkRankIsNull() {
            addCriterion("bk_rank is null");
            return (Criteria) this;
        }

        public Criteria andBkRankIsNotNull() {
            addCriterion("bk_rank is not null");
            return (Criteria) this;
        }

        public Criteria andBkRankEqualTo(String value) {
            addCriterion("bk_rank =", value, "bkRank");
            return (Criteria) this;
        }

        public Criteria andBkRankNotEqualTo(String value) {
            addCriterion("bk_rank <>", value, "bkRank");
            return (Criteria) this;
        }

        public Criteria andBkRankGreaterThan(String value) {
            addCriterion("bk_rank >", value, "bkRank");
            return (Criteria) this;
        }

        public Criteria andBkRankGreaterThanOrEqualTo(String value) {
            addCriterion("bk_rank >=", value, "bkRank");
            return (Criteria) this;
        }

        public Criteria andBkRankLessThan(String value) {
            addCriterion("bk_rank <", value, "bkRank");
            return (Criteria) this;
        }

        public Criteria andBkRankLessThanOrEqualTo(String value) {
            addCriterion("bk_rank <=", value, "bkRank");
            return (Criteria) this;
        }

        public Criteria andBkRankLike(String value) {
            addCriterion("bk_rank like", value, "bkRank");
            return (Criteria) this;
        }

        public Criteria andBkRankNotLike(String value) {
            addCriterion("bk_rank not like", value, "bkRank");
            return (Criteria) this;
        }

        public Criteria andBkRankIn(List<String> values) {
            addCriterion("bk_rank in", values, "bkRank");
            return (Criteria) this;
        }

        public Criteria andBkRankNotIn(List<String> values) {
            addCriterion("bk_rank not in", values, "bkRank");
            return (Criteria) this;
        }

        public Criteria andBkRankBetween(String value1, String value2) {
            addCriterion("bk_rank between", value1, value2, "bkRank");
            return (Criteria) this;
        }

        public Criteria andBkRankNotBetween(String value1, String value2) {
            addCriterion("bk_rank not between", value1, value2, "bkRank");
            return (Criteria) this;
        }

        public Criteria andYjsSchoolTypeIsNull() {
            addCriterion("yjs_school_type is null");
            return (Criteria) this;
        }

        public Criteria andYjsSchoolTypeIsNotNull() {
            addCriterion("yjs_school_type is not null");
            return (Criteria) this;
        }

        public Criteria andYjsSchoolTypeEqualTo(String value) {
            addCriterion("yjs_school_type =", value, "yjsSchoolType");
            return (Criteria) this;
        }

        public Criteria andYjsSchoolTypeNotEqualTo(String value) {
            addCriterion("yjs_school_type <>", value, "yjsSchoolType");
            return (Criteria) this;
        }

        public Criteria andYjsSchoolTypeGreaterThan(String value) {
            addCriterion("yjs_school_type >", value, "yjsSchoolType");
            return (Criteria) this;
        }

        public Criteria andYjsSchoolTypeGreaterThanOrEqualTo(String value) {
            addCriterion("yjs_school_type >=", value, "yjsSchoolType");
            return (Criteria) this;
        }

        public Criteria andYjsSchoolTypeLessThan(String value) {
            addCriterion("yjs_school_type <", value, "yjsSchoolType");
            return (Criteria) this;
        }

        public Criteria andYjsSchoolTypeLessThanOrEqualTo(String value) {
            addCriterion("yjs_school_type <=", value, "yjsSchoolType");
            return (Criteria) this;
        }

        public Criteria andYjsSchoolTypeLike(String value) {
            addCriterion("yjs_school_type like", value, "yjsSchoolType");
            return (Criteria) this;
        }

        public Criteria andYjsSchoolTypeNotLike(String value) {
            addCriterion("yjs_school_type not like", value, "yjsSchoolType");
            return (Criteria) this;
        }

        public Criteria andYjsSchoolTypeIn(List<String> values) {
            addCriterion("yjs_school_type in", values, "yjsSchoolType");
            return (Criteria) this;
        }

        public Criteria andYjsSchoolTypeNotIn(List<String> values) {
            addCriterion("yjs_school_type not in", values, "yjsSchoolType");
            return (Criteria) this;
        }

        public Criteria andYjsSchoolTypeBetween(String value1, String value2) {
            addCriterion("yjs_school_type between", value1, value2, "yjsSchoolType");
            return (Criteria) this;
        }

        public Criteria andYjsSchoolTypeNotBetween(String value1, String value2) {
            addCriterion("yjs_school_type not between", value1, value2, "yjsSchoolType");
            return (Criteria) this;
        }

        public Criteria andYjsSpecailIsNull() {
            addCriterion("yjs_specail is null");
            return (Criteria) this;
        }

        public Criteria andYjsSpecailIsNotNull() {
            addCriterion("yjs_specail is not null");
            return (Criteria) this;
        }

        public Criteria andYjsSpecailEqualTo(String value) {
            addCriterion("yjs_specail =", value, "yjsSpecail");
            return (Criteria) this;
        }

        public Criteria andYjsSpecailNotEqualTo(String value) {
            addCriterion("yjs_specail <>", value, "yjsSpecail");
            return (Criteria) this;
        }

        public Criteria andYjsSpecailGreaterThan(String value) {
            addCriterion("yjs_specail >", value, "yjsSpecail");
            return (Criteria) this;
        }

        public Criteria andYjsSpecailGreaterThanOrEqualTo(String value) {
            addCriterion("yjs_specail >=", value, "yjsSpecail");
            return (Criteria) this;
        }

        public Criteria andYjsSpecailLessThan(String value) {
            addCriterion("yjs_specail <", value, "yjsSpecail");
            return (Criteria) this;
        }

        public Criteria andYjsSpecailLessThanOrEqualTo(String value) {
            addCriterion("yjs_specail <=", value, "yjsSpecail");
            return (Criteria) this;
        }

        public Criteria andYjsSpecailLike(String value) {
            addCriterion("yjs_specail like", value, "yjsSpecail");
            return (Criteria) this;
        }

        public Criteria andYjsSpecailNotLike(String value) {
            addCriterion("yjs_specail not like", value, "yjsSpecail");
            return (Criteria) this;
        }

        public Criteria andYjsSpecailIn(List<String> values) {
            addCriterion("yjs_specail in", values, "yjsSpecail");
            return (Criteria) this;
        }

        public Criteria andYjsSpecailNotIn(List<String> values) {
            addCriterion("yjs_specail not in", values, "yjsSpecail");
            return (Criteria) this;
        }

        public Criteria andYjsSpecailBetween(String value1, String value2) {
            addCriterion("yjs_specail between", value1, value2, "yjsSpecail");
            return (Criteria) this;
        }

        public Criteria andYjsSpecailNotBetween(String value1, String value2) {
            addCriterion("yjs_specail not between", value1, value2, "yjsSpecail");
            return (Criteria) this;
        }

        public Criteria andYjsRankIsNull() {
            addCriterion("yjs_rank is null");
            return (Criteria) this;
        }

        public Criteria andYjsRankIsNotNull() {
            addCriterion("yjs_rank is not null");
            return (Criteria) this;
        }

        public Criteria andYjsRankEqualTo(String value) {
            addCriterion("yjs_rank =", value, "yjsRank");
            return (Criteria) this;
        }

        public Criteria andYjsRankNotEqualTo(String value) {
            addCriterion("yjs_rank <>", value, "yjsRank");
            return (Criteria) this;
        }

        public Criteria andYjsRankGreaterThan(String value) {
            addCriterion("yjs_rank >", value, "yjsRank");
            return (Criteria) this;
        }

        public Criteria andYjsRankGreaterThanOrEqualTo(String value) {
            addCriterion("yjs_rank >=", value, "yjsRank");
            return (Criteria) this;
        }

        public Criteria andYjsRankLessThan(String value) {
            addCriterion("yjs_rank <", value, "yjsRank");
            return (Criteria) this;
        }

        public Criteria andYjsRankLessThanOrEqualTo(String value) {
            addCriterion("yjs_rank <=", value, "yjsRank");
            return (Criteria) this;
        }

        public Criteria andYjsRankLike(String value) {
            addCriterion("yjs_rank like", value, "yjsRank");
            return (Criteria) this;
        }

        public Criteria andYjsRankNotLike(String value) {
            addCriterion("yjs_rank not like", value, "yjsRank");
            return (Criteria) this;
        }

        public Criteria andYjsRankIn(List<String> values) {
            addCriterion("yjs_rank in", values, "yjsRank");
            return (Criteria) this;
        }

        public Criteria andYjsRankNotIn(List<String> values) {
            addCriterion("yjs_rank not in", values, "yjsRank");
            return (Criteria) this;
        }

        public Criteria andYjsRankBetween(String value1, String value2) {
            addCriterion("yjs_rank between", value1, value2, "yjsRank");
            return (Criteria) this;
        }

        public Criteria andYjsRankNotBetween(String value1, String value2) {
            addCriterion("yjs_rank not between", value1, value2, "yjsRank");
            return (Criteria) this;
        }

        public Criteria andYjsEducationYearIsNull() {
            addCriterion("yjs_education_year is null");
            return (Criteria) this;
        }

        public Criteria andYjsEducationYearIsNotNull() {
            addCriterion("yjs_education_year is not null");
            return (Criteria) this;
        }

        public Criteria andYjsEducationYearEqualTo(String value) {
            addCriterion("yjs_education_year =", value, "yjsEducationYear");
            return (Criteria) this;
        }

        public Criteria andYjsEducationYearNotEqualTo(String value) {
            addCriterion("yjs_education_year <>", value, "yjsEducationYear");
            return (Criteria) this;
        }

        public Criteria andYjsEducationYearGreaterThan(String value) {
            addCriterion("yjs_education_year >", value, "yjsEducationYear");
            return (Criteria) this;
        }

        public Criteria andYjsEducationYearGreaterThanOrEqualTo(String value) {
            addCriterion("yjs_education_year >=", value, "yjsEducationYear");
            return (Criteria) this;
        }

        public Criteria andYjsEducationYearLessThan(String value) {
            addCriterion("yjs_education_year <", value, "yjsEducationYear");
            return (Criteria) this;
        }

        public Criteria andYjsEducationYearLessThanOrEqualTo(String value) {
            addCriterion("yjs_education_year <=", value, "yjsEducationYear");
            return (Criteria) this;
        }

        public Criteria andYjsEducationYearLike(String value) {
            addCriterion("yjs_education_year like", value, "yjsEducationYear");
            return (Criteria) this;
        }

        public Criteria andYjsEducationYearNotLike(String value) {
            addCriterion("yjs_education_year not like", value, "yjsEducationYear");
            return (Criteria) this;
        }

        public Criteria andYjsEducationYearIn(List<String> values) {
            addCriterion("yjs_education_year in", values, "yjsEducationYear");
            return (Criteria) this;
        }

        public Criteria andYjsEducationYearNotIn(List<String> values) {
            addCriterion("yjs_education_year not in", values, "yjsEducationYear");
            return (Criteria) this;
        }

        public Criteria andYjsEducationYearBetween(String value1, String value2) {
            addCriterion("yjs_education_year between", value1, value2, "yjsEducationYear");
            return (Criteria) this;
        }

        public Criteria andYjsEducationYearNotBetween(String value1, String value2) {
            addCriterion("yjs_education_year not between", value1, value2, "yjsEducationYear");
            return (Criteria) this;
        }

        public Criteria andScoresIsNull() {
            addCriterion("scores is null");
            return (Criteria) this;
        }

        public Criteria andScoresIsNotNull() {
            addCriterion("scores is not null");
            return (Criteria) this;
        }

        public Criteria andScoresEqualTo(String value) {
            addCriterion("scores =", value, "scores");
            return (Criteria) this;
        }

        public Criteria andScoresNotEqualTo(String value) {
            addCriterion("scores <>", value, "scores");
            return (Criteria) this;
        }

        public Criteria andScoresGreaterThan(String value) {
            addCriterion("scores >", value, "scores");
            return (Criteria) this;
        }

        public Criteria andScoresGreaterThanOrEqualTo(String value) {
            addCriterion("scores >=", value, "scores");
            return (Criteria) this;
        }

        public Criteria andScoresLessThan(String value) {
            addCriterion("scores <", value, "scores");
            return (Criteria) this;
        }

        public Criteria andScoresLessThanOrEqualTo(String value) {
            addCriterion("scores <=", value, "scores");
            return (Criteria) this;
        }

        public Criteria andScoresLike(String value) {
            addCriterion("scores like", value, "scores");
            return (Criteria) this;
        }

        public Criteria andScoresNotLike(String value) {
            addCriterion("scores not like", value, "scores");
            return (Criteria) this;
        }

        public Criteria andScoresIn(List<String> values) {
            addCriterion("scores in", values, "scores");
            return (Criteria) this;
        }

        public Criteria andScoresNotIn(List<String> values) {
            addCriterion("scores not in", values, "scores");
            return (Criteria) this;
        }

        public Criteria andScoresBetween(String value1, String value2) {
            addCriterion("scores between", value1, value2, "scores");
            return (Criteria) this;
        }

        public Criteria andScoresNotBetween(String value1, String value2) {
            addCriterion("scores not between", value1, value2, "scores");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andOtherInstructionsIsNull() {
            addCriterion("other_instructions is null");
            return (Criteria) this;
        }

        public Criteria andOtherInstructionsIsNotNull() {
            addCriterion("other_instructions is not null");
            return (Criteria) this;
        }

        public Criteria andOtherInstructionsEqualTo(String value) {
            addCriterion("other_instructions =", value, "otherInstructions");
            return (Criteria) this;
        }

        public Criteria andOtherInstructionsNotEqualTo(String value) {
            addCriterion("other_instructions <>", value, "otherInstructions");
            return (Criteria) this;
        }

        public Criteria andOtherInstructionsGreaterThan(String value) {
            addCriterion("other_instructions >", value, "otherInstructions");
            return (Criteria) this;
        }

        public Criteria andOtherInstructionsGreaterThanOrEqualTo(String value) {
            addCriterion("other_instructions >=", value, "otherInstructions");
            return (Criteria) this;
        }

        public Criteria andOtherInstructionsLessThan(String value) {
            addCriterion("other_instructions <", value, "otherInstructions");
            return (Criteria) this;
        }

        public Criteria andOtherInstructionsLessThanOrEqualTo(String value) {
            addCriterion("other_instructions <=", value, "otherInstructions");
            return (Criteria) this;
        }

        public Criteria andOtherInstructionsLike(String value) {
            addCriterion("other_instructions like", value, "otherInstructions");
            return (Criteria) this;
        }

        public Criteria andOtherInstructionsNotLike(String value) {
            addCriterion("other_instructions not like", value, "otherInstructions");
            return (Criteria) this;
        }

        public Criteria andOtherInstructionsIn(List<String> values) {
            addCriterion("other_instructions in", values, "otherInstructions");
            return (Criteria) this;
        }

        public Criteria andOtherInstructionsNotIn(List<String> values) {
            addCriterion("other_instructions not in", values, "otherInstructions");
            return (Criteria) this;
        }

        public Criteria andOtherInstructionsBetween(String value1, String value2) {
            addCriterion("other_instructions between", value1, value2, "otherInstructions");
            return (Criteria) this;
        }

        public Criteria andOtherInstructionsNotBetween(String value1, String value2) {
            addCriterion("other_instructions not between", value1, value2, "otherInstructions");
            return (Criteria) this;
        }

        public Criteria andLeaveMessageIsNull() {
            addCriterion("leave_message is null");
            return (Criteria) this;
        }

        public Criteria andLeaveMessageIsNotNull() {
            addCriterion("leave_message is not null");
            return (Criteria) this;
        }

        public Criteria andLeaveMessageEqualTo(String value) {
            addCriterion("leave_message =", value, "leaveMessage");
            return (Criteria) this;
        }

        public Criteria andLeaveMessageNotEqualTo(String value) {
            addCriterion("leave_message <>", value, "leaveMessage");
            return (Criteria) this;
        }

        public Criteria andLeaveMessageGreaterThan(String value) {
            addCriterion("leave_message >", value, "leaveMessage");
            return (Criteria) this;
        }

        public Criteria andLeaveMessageGreaterThanOrEqualTo(String value) {
            addCriterion("leave_message >=", value, "leaveMessage");
            return (Criteria) this;
        }

        public Criteria andLeaveMessageLessThan(String value) {
            addCriterion("leave_message <", value, "leaveMessage");
            return (Criteria) this;
        }

        public Criteria andLeaveMessageLessThanOrEqualTo(String value) {
            addCriterion("leave_message <=", value, "leaveMessage");
            return (Criteria) this;
        }

        public Criteria andLeaveMessageLike(String value) {
            addCriterion("leave_message like", value, "leaveMessage");
            return (Criteria) this;
        }

        public Criteria andLeaveMessageNotLike(String value) {
            addCriterion("leave_message not like", value, "leaveMessage");
            return (Criteria) this;
        }

        public Criteria andLeaveMessageIn(List<String> values) {
            addCriterion("leave_message in", values, "leaveMessage");
            return (Criteria) this;
        }

        public Criteria andLeaveMessageNotIn(List<String> values) {
            addCriterion("leave_message not in", values, "leaveMessage");
            return (Criteria) this;
        }

        public Criteria andLeaveMessageBetween(String value1, String value2) {
            addCriterion("leave_message between", value1, value2, "leaveMessage");
            return (Criteria) this;
        }

        public Criteria andLeaveMessageNotBetween(String value1, String value2) {
            addCriterion("leave_message not between", value1, value2, "leaveMessage");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Integer value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Integer value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Integer value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Integer value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Integer> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Integer> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Integer value1, Integer value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * 
     * 
     * @author wcyong
     * 
     * @date 2020-06-15
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}